package com.qf.commerce.service;

import com.github.pagehelper.PageInfo;
import com.qf.commerce.common.dto.SampleDto;
import com.qf.commerce.common.vo.SampleVo;

import java.util.List;

/**
 * @author Administrator
 */
public interface SampleService {
    int addSample(SampleDto sampleDto);

    int deleteSampleById(Long sampleId);

    int deleteSampleByIds(List<Long> sampleIds);
    int modifySampleById(SampleDto sampleDto);

    PageInfo<SampleVo> querySampleList(Integer currentPage);

    PageInfo<SampleVo> querySampleByName(String modelName,Integer currentPage);
}
